package com.tc.feign;

import com.tc.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: wangyifan
 * @Date: 2022/03/03 15:07
 * @Description: $end$
 * @Version: V1.0
 */

@Component
@FeignClient(value = "youpin-service-goods")
public interface FGoodsService {


    @GetMapping("/tc/reduceGoods")
    public R reduceGoods(@RequestParam("goodsId") Long goodsId,@RequestParam("goodsNumber") Integer goodsNumber);
}
